package com.profgj.profgj.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2021-06-22 11:10:34
 */
@ApiModel(value = "用户",description = "用户")
public class User extends Model<User>  implements Serializable {
    private static final long serialVersionUID = 908927647398845040L;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer id;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    /**
     * 级联添加标志位
     */
    @ApiModelProperty(value = "级联添加标志位")
    private Integer jltj;

    /**
     * 企业用户上报通知的手机号
     */
    @ApiModelProperty(value = "企业用户上报通知的手机号")
    private String tel;

    /**
     * 逻辑删除字段
     */
    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic
    private Integer deleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getJltj() {
        return jltj;
    }

    public void setJltj(Integer jltj) {
        this.jltj = jltj;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
}
